#global-loader.light-theme-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255,255,255,0.96);
    z-index: 2147483647;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    backdrop-filter: blur(6px);
}

#global-loader.active {
    opacity: 1;
    pointer-events: all;
}

/* 3D旋转动画 */
.frappe-logo-spinner {
    width: 72px;
    height: 72px;
    background: url('/assets/frappe/images/favicon.svg') center/contain no-repeat;
    animation: 
        spin 1.8s cubic-bezier(0.5, 0, 0.5, 1) infinite,
        pulse 2s ease infinite;
    transform-style: preserve-3d;
}

@keyframes spin {
    0% { transform: rotateY(0deg) scale(0.9); }
    50% { transform: rotateY(180deg) scale(1.1); }
    100% { transform: rotateY(360deg) scale(0.9); }
}

/* 霓虹进度条 */
.progress-bar {
    position: absolute;
    bottom: 25%;
    width: 240px;
    height: 3px;
    background: rgba(0,0,0,0.1);
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, #5e64ff, #00b8d9);
    animation: progress 1.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    box-shadow: 0 0 10px rgba(94, 100, 255, 0.7);
}

@keyframes progress {
    0% { transform: translateX(-100%) skewX(-15deg); }
    100% { transform: translateX(250%) skewX(-15deg); }
}